<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{getTitle($archive,$category,$catid,$type)} - Powered by CmsEasy</title>
<meta name="keywords" content="{getKeywords($archive,$category,$catid,$type)}" />
<meta name="description" content="{getDescription($archive,$category,$catid,$type)}" />
<meta name="author" content="CmsEasy Team" />
<link rel="icon" href="{$base_url}/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="{$base_url}/favicon.ico" type="image/x-icon" />
<link href="{$skin_path}/reset.css" rel="stylesheet" type="text/css" />
<link href="{$skin_path}/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$skin_path}/js/jquery-1.3.2.min.js"></script>
<style type="text/css">
.logo {width:{get('logo_width')}px; height:{get('logo_height')}px; background:url({get('site_logo')}) center center no-repeat;}
</style>

<script language="javascript" type="text/javascript">
function killerrors()
{
return true;
}
window.onerror = killerrors;
</script>

</head>

<body>

<div id="main">
<div id="sig"></div>
<div id="header">
  	<div class="logo"><a title="{get(sitename)}" href="{$base_url}/"></a></div>
    <div class="top">
	<div class="top_a"><a title="RSS" href="{$base_url}/index.php?case=archive&act=rss&catid={$catid}" target="_blank">RSS</a>
  -  <a href="<?php echo url('archive/orders');?>">{lang(shoppingcart)}</a>
{if get('mobile_open')=='1'}  -  <a title="{lang(sitewap)}" href="{$base_url}/wap/">{lang(sitewap)}</a>{/if}
{if get('guestbook_enable')} - <a title="{lang(feedback)}" href="{url('guestbook')}" target="_blank">{lang(feedback)}</a>{/if}</div>

	<form name='search' action="<?php echo url('archive/search');?>" onsubmit="search_check();" method="post">
<div class="top_input">
	<input type="text" name="keyword" value="{lang(pleaceinputtext)}" onfocus="if(this.value=='{lang(pleaceinputtext)}') {this.value=''}" onblur="if(this.value=='') this.value='{lang(pleaceinputtext)}'" size="24" />
    </div> 
	<div  class="top_inputimg"><input name='submit' type="image" src="{$skin_path}/sm_3.gif" align="middle" /></div>
</form>
<!-- 多站切换 -->
<div class="website">
	<select name="website" onchange="javascript:window.open(this.options[this.selectedIndex].value)">
  <option value="default">{lang('websitego')}</option>
  {loop getwebsite() $d}
  <option value="{$d['url']}">{$d[name]}</option>
  {/loop}
</select>
</div>
   </div>
	
	<div class="clear"></div>
<div id="nav">
<ul id="navmenu"> 
<li><a title="{lang(backhome)}" href="{$base_url}/" class="one{if $topid==0} on{/if}">{lang(homepage)}</a></li>
{loop categories_nav() $t}
<li><img src="{$skin_path}/nav_line.gif" /></li>
<li><a href="{$t[url]}" title="{$t[catname]}" class="one{if isset($topid) && $topid==$t[catid]} on{/if}">{$t[catname]}</a>
<ul>
{loop categories($t[catid]) $t1}
<li><a title="{$t1[catname]}" href="{$t1[url]}">{$t1[catname]}</a>
<ul>{loop categories($t1[catid]) $t2}
<li><a title="{$t2[catname]}" href="{$t2[url]}">{$t2[catname]}</a>
<ul>{loop categories($t2[catid]) $t3}
<li><a title="{$t3[catname]}" href="{$t3[url]}">{$t3[catname]}</a>
<ul>{loop categories($t3[catid]) $t4}
<li><a title="{$t4[catname]}" href="{$t4[url]}">{$t4[catname]}</a>
<ul>{loop categories($t4[catid]) $t5}
<li><a title="{$t5[catname]}" href="{$t5[url]}">{$t5[catname]}</a></li> 
{/loop}</ul>
</li> 
{/loop}</ul>
</li>
{/loop}</ul>
</li>
{/loop}</ul>
</li> 
{/loop}</ul>
</li>{/loop}
</ul>
</div>

<div class="blank5"></div>

<div class="banner">
{template 'system/slide.html'}
</div>

<div class="announ"><div id="announ">
	{loop announ(5) $an}
	<p><a href="{$an[url]}" title="{$an[title]}">{$an[title]}</a> [{$an[adddate]}]</p>
	{/loop}
</div></div>
</div>
